package com.neusoft.yiyang.task.client;

import com.neusoft.yiyang.common.entity.medical.MedicationOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "medical-service")
public interface MedicationOrderClient {

    //careTask中的refId查询对应的药物
    @GetMapping("/medication-orders/getByMedicationOrderId/{medicationOrderId}")
    MedicationOrder getByMedicationOrderId(@PathVariable Integer medicationOrderId);
}
